package damRed

import (
	"github.com/gin-gonic/gin"
	"mvip-route/service/model"
)

// DamRedCrudService 接口
type DamRedCrudService interface {
	CreateDameRed(ctx *gin.Context) (*model.DamRedVo, error)
	GetDameReds(ctx *gin.Context) ([]model.DamRedVo, error)
	UpdateDameRed(ctx *gin.Context, id int) (*model.DamRedVo, error)
	DeleteDameRed(ctx *gin.Context, id int) error
	GetDameRed(id int) (model.DamRedVo, error)
}
